package com.onstar.cn.framework.mvp.base;

import android.app.Activity;

import com.onstar.cn.common.exception.OnStarException;

/**
 * Created by 7828wc on 2016/6/21.
 */
public interface IMVPView<T> {
    void setLoading(boolean isLoading);

    void onResponseError(OnStarException e);

    void onReponseSuccess(T object);

    Activity onActivity();
}
